package ssm.com.jy.serviceImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import ssm.com.jy.dao.mapper.TestBeanMapper;
import ssm.com.jy.entity.TestBean;
import ssm.com.jy.service.TestService;

import java.util.List;

@Service
class TestServiceImpl implements TestService {

    @Autowired
    private TestBeanMapper mTestMapper;

    @Override
    public List<TestBean> selectAll() {
        return mTestMapper.selectAll();
    }

    @Override
    public TestBean selectByPrimaryKey(Integer id) {
        return mTestMapper.selectByPrimaryKey(id);
    }
}
